package com.hp.ssmp.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


public class TGoodsCategory {
  @TableId(value = "CATEGORYID",type = IdType.AUTO)
  private Long categoryid;
  private Long parentid;
  private String categoryname;
  private Long level;

  public Long getCategoryid() {
    return categoryid;
  }

  public void setCategoryid(Long categoryid) {
    this.categoryid = categoryid;
  }


  public Long getParentid() {
    return parentid;
  }

  public void setParentid(Long parentid) {
    this.parentid = parentid;
  }


  public String getCategoryname() {
    return categoryname;
  }

  public void setCategoryname(String categoryname) {
    this.categoryname = categoryname;
  }


  public Long getLevel() {
    return level;
  }

  public void setLevel(Long level) {
    this.level = level;
  }

  @Override
  public String toString() {
    return "TGoodsCategory{" +
            "categoryid=" + categoryid +
            ", parentid=" + parentid +
            ", categoryname='" + categoryname + '\'' +
            ", level=" + level +
            '}';
  }
}
